//
//  vars.h
//  iXorsPattern
//
//  Created by Dmitry Tatarinov on 1/30/15.
//  Copyright (c) 2015 Huly-Gun Soft. All rights reserved.
///

#import <Foundation/Foundation.h>

#ifdef UI_USER_INTERFACE_IDIOM
#define IS_IPAD (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
#else
#define IS_IPAD NO
#endif

#define IS_IPHONE_5 ([UIScreen mainScreen].bounds.size.height == 568.0)
#define IS_RETINA ([UIScreen mainScreen].scale > 1.0)

extern bool global_pause;
//extern UIViewController *controller;